package providers

import (
	"OnlineLibrary/internal/content"

	"gitverse.ru/kvark128/dodp"
)

type Provider interface {
	ContentList(string) (*content.List, error)
	LastContentListID() (string, error)
	ContentItem(string) (content.Item, error)
	LastContentItemID() (string, error)
	Tidy([]string)
}

type Questioner interface {
	GetQuestions(*dodp.UserResponses) (*dodp.Questions, error)
}

type Terminator interface {
	Terminate() error
}
